home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 7927 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  638 b 

  1. Path: news.netam.net!alpha!bgc
  2. From: bgc@alpha.netam.net (The Bowling Green Connection)
  3. Newsgroups: comp.lang.c
  4. Subject: Getting modem status
  5. Date: 29 Feb 1996 18:40:52 GMT
  6. Organization: NetAmerica, Bowling Green, KY.
  7. Message-ID: <4h4rvk$6to@news.netam.net>
  8. NNTP-Posting-Host: alpha.netam.net
  9. X-Newsreader: TIN [version 1.2 PL2]
  10.  
  11. Does anyone know a way (with Borland C++ 3.1) that I can check the status
  12. of a com port and see if the modem attached to it is on the hook, or
  13. in use?  I've tried the _bios_serialcom() function, checking the return
  14. value of the STATUS option, but it HANGS UP the modem if it is in use!!
  15.  
  16. Eddie
  17. bgc@bgcky.com
  18.